POV-Ray : Newsgroups : povray.general : cannot open png file : cannot open png file Server Time
1 Aug 2024 04:11:56 EDT (-0400)
  cannot open png file  
From: cpmac
Date: 5 Apr 2006 06:25:01
Message: <web.44339a126679399260277a370@news.povray.org>
Hello
I'm trying to experiment with including bimaps.
I've used the following code but get the message
parse error cannot open png file.
The file renders correctly if I put a simple pigment instead of the texture.

What am I doing wrong?

#declare panel= prism {
    linear_sweep
    linear_spline
    0, // sweep the following shape from here ...
    0.01, // ... up through here
    4, // the number of points making up the shape ...
    <0,0>, <2,0>, <2,2>, <0,2>
     texture {
    pigment{ image_map { png "/noddy2.png" }
    }
 rotate<-90,0,0>
 translate<0,6,0>
 scale 0.5
  }


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.